package cate.common.table.activity.heroup.call;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "英雄上新活动-进度奖励")
public class HeroUpProgressRow extends ERow {
    @NoteField(value = "配置ID")
    public int groupId;
    @NoteField(value = "奖励")
    public String rewardStr;
    @NoteField(value = "抽卡次数")
    public int callTimes;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.groupId = xrw.getInteger("配置ID");
        this.rewardStr = xrw.getString("奖励","");
        this.callTimes = xrw.getInteger("抽卡次数");
    }
}
